package com.yf.entity;

import com.yf.utils.Constant;
import lombok.Data;

import java.sql.Timestamp;
@Data
public class AnswerEntity {
    Integer aid;
    String uname;
    String answer;
    Timestamp created;

    public String getAnsUser() {
        return String.format("%s%c%s", answer, Constant.ansFieldSeq, uname);
    }
}
